package framework.webclient;

import java.util.Map;

public interface RestSocket {

	public abstract <M> M get(String path, Class<M> cls,
			Map<String, String> parameters);

	public abstract <M> M post(String path, Object object, Class<M> cls);

	public abstract <M> M put(String path, Object object, Class<M> cls);

	public abstract <M> M delete(String path, Class<M> cls,
			Map<String, String> parameters);

}